package com.guan.mysolutionstudy;

/**
 * @ClassName ListNode
 * @Author GuanCary
 * @Date 2020/5/14 15:23
 * @Version 1.0
 **/
public class ListNode {

    //创建属性值value和next属性
    int value;
    //节点的next指向另外一个节点
    com.guan.mysolutionstudy.ListNode next;

    //给节点赋值的构造方法
    ListNode(int value) {
        this.value = value;
    }

    ListNode(int value, com.guan.mysolutionstudy.ListNode next) {
        this.value = value;
        this.next = next;
    }
}